| Fully Qualified Name: | Laminas\Code\Generator\ParameterGenerator |
| Extends: | AbstractGenerator |
| Parameter Name | Type | Description |
|---|---|---|
| $name | string | |
| $type | string | |
| $defaultValue | mixed | |
| $position | int | |
| $passByReference | bool |
Returns:
Generate from array
| Parameter Name | Type | Description |
|---|---|---|
| $array | array |
Returns: \ParameterGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $reflectionParameter | \ParameterReflection |
Returns: \ParameterGenerator
Returns: string
Returns: \ValueGenerator
Returns: string
Returns: string
Returns: bool
Returns: int
Returns: string
Returns: string
Returns: bool
Returns: bool
| Parameter Name | Type | Description |
|---|---|---|
| $omit | bool |
Returns: \ParameterGenerator
Set the default value of the parameter.
Certain variables are difficult to express
| Parameter Name | Type | Description |
|---|---|---|
| $defaultValue | null|bool|string|int|float|array|\ValueGenerator |
Returns: \ParameterGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $indentation | string |
Returns: \AbstractGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $name | string |
Returns: \ParameterGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $options | array|\Traversable |
Returns: \AbstractGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $passedByReference | bool |
Returns: \ParameterGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $position | int |
Returns: \ParameterGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $sourceContent | string |
Returns: \AbstractGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $isSourceDirty | bool |
Returns: \AbstractGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $type | string |
Returns: \ParameterGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $variadic | bool |
Returns: \ParameterGenerator